package com.zhuiYun.project.api.handworkdiy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * @ClassName HandworkDiyVo
 * @Description TODO diy商品需要展示内容的中间实体类
 * @Author kdj
 * @Date 2023/4/7 15:00
 **/


@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class HandworkDiyVo extends HandworkDiy{
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    // diy商品最终价格
    private BigDecimal price;

    // diy商品最终价格类型 0:原价 1:优惠价
    private Integer priceType;
}
